import {
  Controller,
  Get,
  Query,
  Request,
  Body,
  Param,
  Response,
  Post,
  Req,
  Res,
} from '@nestjs/common';
import * as formidable from 'formidable';
@Controller('upload')
export class UploadedController {
  @Post('file')
  file(@Req() req: Request, @Res() res: Response) {
    return {
      code: '200',
    };
  }
}
